<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysVehicleRateBean.id}"/>
		<f:event type="preRenderView" listener="#{sysVehicleRateBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Vehicle Rate"/>

	<ui:define name="header">
		Sys Vehicle Rate
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Vehicle Rate
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateVehicleTypeNo" value="Vehicle Type No:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateVehicleTypeNo" value="#{sysVehicleRateBean.sysVehicleRate.vehicleTypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateVehicleSubtypeNo" value="Vehicle Subtype No:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateVehicleSubtypeNo" value="#{sysVehicleRateBean.sysVehicleRate.vehicleSubtypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateVehicleBrandNo" value="Vehicle Brand No:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateVehicleBrandNo" value="#{sysVehicleRateBean.sysVehicleRate.vehicleBrandNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateVehicleColorNo" value="Vehicle Color No:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateVehicleColorNo" value="#{sysVehicleRateBean.sysVehicleRate.vehicleColorNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateVehicleModelCode" value="Vehicle Model Code:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateVehicleModelCode" value="#{sysVehicleRateBean.sysVehicleRate.vehicleModelCode}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateVehicleNumber" value="Vehicle Number:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateVehicleNumber" value="#{sysVehicleRateBean.sysVehicleRate.vehicleNumber}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateVehicleGearTypeNo" value="Vehicle Gear Type No:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateVehicleGearTypeNo" value="#{sysVehicleRateBean.sysVehicleRate.vehicleGearTypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateSalePrice" value="Sale Price:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateSalePrice" value="#{sysVehicleRateBean.sysVehicleRate.salePrice}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateDetail" value="Detail:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateDetail" value="#{sysVehicleRateBean.sysVehicleRate.detail}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateOver" value="Over:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateOver" value="#{sysVehicleRateBean.sysVehicleRate.over}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateLoanAllowRatePerc" value="Loan Allow Rate Perc:"/>
			<h:outputText id="sysVehicleRateBeanSysVehicleRateLoanAllowRatePerc" value="#{sysVehicleRateBean.sysVehicleRate.loanAllowRatePerc}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateSysVehicleRateDetails" value="Sys Vehicle Rate Details:"/>
			<h:dataTable id="sysVehicleRateBeanSysVehicleRateSysVehicleRateDetails" styleClass="data-table" value="#{forgeview:asList(sysVehicleRateBean.sysVehicleRate.sysVehicleRateDetails)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rate Val"/>
					</f:facet>
					<h:link outcome="/form/sysVehicleRateDetail/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemRateVal" value="#{_item.rateVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysVehicleRateBeanSysVehicleRateSysVehicleRateTmpDetails" value="Sys Vehicle Rate Tmp Details:"/>
			<h:dataTable id="sysVehicleRateBeanSysVehicleRateSysVehicleRateTmpDetails" styleClass="data-table" value="#{forgeview:asList(sysVehicleRateBean.sysVehicleRate.sysVehicleRateTmpDetails)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rate Val"/>
					</f:facet>
					<h:link outcome="/form/sysVehicleRateTmpDetail/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemRateVal" value="#{_item.rateVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>